from ftllibs.items.itemtools import ItemIconData

class Item_3082():
    def __init__(self):
        self.parent=False
        self.Name="Warden's Mail"
        self.IconFileName="3082.png"
        self.ID=3082
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1031','1006']
        self.Builds_Into=['3143']
        self.Tags=['health_regen','armor']
        self.Costs = 400
        self.Total_Costs = 1350
        self.Description="+50 Armor +20 Health Regen per 5 seconds  UNIQUE Passive: 20% chance on being hit by basic attacks to slow the attacker's Movement and Attack Speeds by 35% for 3 seconds."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Armor += 50.0
        self.parent.Health_Regen_per_5_seconds += 20.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


